home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / set_envi / readme.doc < prev    next >
Text File  |  1996-07-10  |  3KB  |  97 lines

  1. Scott Hansen
  2. DBNet Software Solutions.
  3. 15553 207th PL SE
  4. Renton, WA 98059
  5.  
  6.  
  7. Copyright/License/Warranty
  8. --------------------------
  9.  
  10. This document and the programs are copyrighted by the author.  The
  11. copyright owner hereby licenses you to: use the software; make as many
  12. copies of the program and documentation as you wish; give such copies to
  13. anyone; and redistribute the software and documentation via electronic
  14. means.  There is no charge for any of the above.  By using this free
  15. software you agree to:
  16.  
  17. 1) Distribute copies of these utilities freely provided that the programs
  18.    are not altered in any way, you do not collect a fee for the programs
  19.    and the complete README file is always included.
  20.  
  21. 2) The utilities are provided 'as-is' with no warranties of any kind, either
  22.    expressed or implied.  The Author/Distributor is not liable for any
  23.    damages resulting from the use of these programs.
  24.  
  25.  
  26. These programs have been tested and used with DOS 3.xx and Novell's 
  27. Advanced/SFT Netware 286 V2.1x.  The author claims no responsibility
  28. for the use of said utility.
  29.  
  30.  
  31. Note:   All three of these program manipulate Environment Variables in the
  32.         Master/Parent table only.  This means if you are in a child shell
  33.         you will not see the effects, only when you return to the Parent
  34.         shell.  The variables will be sourced to a new shell, if envoked
  35.         after the program has been ran.
  36.  
  37.  
  38. Descriptions:
  39.  
  40. Usage:  SETDRV [/Q] [/R]
  41.  
  42.         This Utility sets two MASTER environment variables, which
  43.         can then be referenced in BATch files to return to the
  44.         current drive and directory.
  45.  
  46.         DRV  -  Current Drive     (ie:  F:)
  47.         DIR  -  Current Directory (ie:  USERS\FRED\DATA)
  48.  
  49.         The /Q command line parameter is the Quiet switch.  This will
  50.         suppress this message and actually set the variables.  Without
  51.         this switch the VARIABELS WILL NOT be set.
  52.  
  53.         The /R command line parameter is to Release/Remove the two
  54.         MASTER environment variables.
  55.  
  56.         This will create/remove in the MASTER environment table ONLY.
  57.  
  58.                 Sample Batch file:
  59.  
  60.                 setdrv /q
  61.                 h:
  62.                 cd\apps\wp
  63.                 wp
  64.                 %drv%
  65.                 cd \%dir%
  66.                 setdrv /r
  67.         
  68.  
  69. Usage:  SETENV [Variable_Name] [Value/"String" or /R] [/Q]
  70.  
  71.         This Utility allows you SET an Environment Variable in the
  72.         Master Environment table.
  73.  
  74.         The /R command line parameter is to Release/Remove the specified
  75.         MASTER environment variable if it exists.
  76.  
  77.         This will create/remove in the MASTER environment table ONLY.
  78.  
  79.         The /Q command line parameter is the Quiet switch, this will
  80.         suppress all messages.
  81.  
  82.         To assign a string to a variable it MUST be contained within
  83.         double quotes.
  84.  
  85.  
  86. Usage:  CLEARENV [/A] [/N]
  87.  
  88.         This Utility allows you to clear all or un-needed Environment
  89.         Variables from the MASTER environment table.
  90.  
  91.         The /A command line parameter clears All environment variables from
  92.         the Master table.
  93.  
  94.         The /N command line parameter is the Nice switch, it clears all
  95.         variable from the Master table, but PATH, COMSPEC and PROMPT.
  96.  
  97.